import {
    Button,
    Input,
    Table,
    TableColumn,
    Popover,
    Spinner,
    Icon,
    Row,
    Col,
    InputNumber,
    Dialog,
    Pagination,
    Drawer,
    Tree,
    Form,
    FormItem,
    Container,
    Aside,
    Main,
    Footer,
    Header,
    Menu,
    MenuItem,
    Submenu,
    Select,
    Option,
    DatePicker,
    Popconfirm,
    Upload,
    Alert,
    RadioGroup,
    RadioButton,
    Radio,
    Loading,
    Badge,
    Tabs,
    TabPane,
    Carousel,
    CarouselItem,
    Collapse,
    CollapseItem,
    Steps,
    Step,
    Divider,
    Image,
    Card,
    Link,
} from "element-ui";

export default {
    install(Vue) {
        [
            Button,
            Input,
            Table,
            TableColumn,
            Popover,
            Spinner,
            Icon,
            Row,
            Col,
            InputNumber,
            Dialog,
            Pagination,
            Drawer,
            Tree,
            Form,
            FormItem,
            Container,
            Aside,
            Main,
            Footer,
            Header,
            Menu,
            MenuItem,
            Submenu,
            Select,
            Option,
            DatePicker,
            Popconfirm,
            Upload,
            Alert,
            RadioGroup,
            RadioButton,
            Radio,
            Loading,
            Badge,
            Tabs,
            TabPane,
            Carousel,
            CarouselItem,
            Collapse,
            CollapseItem,
            Steps,
            Step,
            Divider,
            Image,
            Card,
            Link,
        ].forEach(el => Vue.use(el));
    },
};
